#include "file_utils.h"

namespace kanon
{
    std::string FileUtils::getShaderPath(const std::string& rel_path)
    {
#ifdef WIN32
        std::string shader_root = "D:\\projects\\kanon\\resources\\shader\\";
        return shader_root + rel_path;
#else
        std::string shader_root = "/Users/liyu/Desktop/workspace/kanon/resources/shader/";
        return shader_root + rel_path;
#endif
    }

    std::string FileUtils::getTexturePath(const std::string& rel_path)
    {
#ifdef WIN32
        std::string shader_root = "D:\\projects\\kanon\\resources\\textures\\";
        return shader_root + rel_path;
#else
        std::string shader_root = "/Users/liyu/Desktop/workspace/kanon/resources/textures/";
        return shader_root + rel_path;
#endif
    }
}
